|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.virtualweaver.xotics.datamodel.XoEnvironment
This class is the entry point to access all Xotics features. Instanciating an
XoEnvironment object creates a Xotics environment. In this environment,
one XoRegistry, one XoFactory, one XoClassLoader and one XoLogMessageBuffer
instances are provided to work with Data-Models. One can create as many XoEnvironment
objects as wanted, but each environment is isolated from each other.
| Constructor Summary | |
XoEnvironment()
Standard constructor, creates a valid environment composed with respectively one instance of a Factory, Registry, class loader and Log Buffer. |
|
XoEnvironment(boolean applet)
Special constructor, to use when this is embedded in an Applet. |
|
| Method Summary | |
XoClassLoader |
getClassLoader()
Returns the class loader used in this environment |
XoFactory |
getFactory()
Returns the environment Factory, responsible for creation of Data-Model instances |
XoLogMessageBuffer |
getLogMessageBuffer()
Returns the environment Log message buffer, which stores log messages created by both core objects and user applications. |
XoRegistry |
getRegistry()
Returns the environment Registry, responsible for storing Data-Model definitions |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XoEnvironment()
throws XoException
XoException - when init fails
public XoEnvironment(boolean applet)
throws XoException
XoException - when init failsXoClassLoader| Method Detail |
public XoRegistry getRegistry()
public XoFactory getFactory()
public XoLogMessageBuffer getLogMessageBuffer()
public XoClassLoader getClassLoader()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||